<form class="layui-form layui-form-pane edit-form">
    <div class="layui-form-item">
        <label class="layui-form-label">
            折扣数值
        </label>
        <div class="layui-input-block">
            <input autocomplete="off" class="layui-input" lay-verify="required|number" name="z_num" type="text" value="{$data['z_num']}"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            折扣券数量
        </label>
        <div class="layui-input-block">
            <input autocomplete="off" class="layui-input" lay-verify="required|number" name="i_num" type="text" value="{$data['i_num']}"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            剩余数量
        </label>
        <div class="layui-input-block">
            <input autocomplete="off" class="layui-input" lay-verify="required|number" name="get_num" type="text" value="{$data['get_num']}"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            使用条件
        </label>
        <div class="layui-input-block">
            <input autocomplete="off" class="layui-input" lay-verify="required|number" name="use_validate" type="text" value="{$data['use_validate']}"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            定时发布时间
        </label>
        <div class="layui-input-block">
            <input autocomplete="off" class="layui-input" lay-verify="required|number" name="issue_time" type="text" value="{$data['issue_time']}"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            有效期
        </label>
        <div class="layui-input-block">
            <input autocomplete="off" class="layui-input" lay-verify="required|number" name="validate_time" type="text" value="{$data['validate_time']}"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            开始日期
        </label>
        <div class="layui-input-block">
            <input autocomplete="off" class="layui-input" lay-verify="required|number" name="start_use" type="text" value="{$data['start_use']}"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            截止日期
        </label>
        <div class="layui-input-block">
            <input autocomplete="off" class="layui-input" lay-verify="required|number" name="end_use" type="text" value="{$data['end_use']}"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            发布人ID
        </label>
        <div class="layui-input-block">
            <input autocomplete="off" class="layui-input" lay-verify="required|number" name="user_id" type="text" value="{$data['user_id']}"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            跳转类型  1：服务  2：需求 3：个人主页
        </label>
        <div class="layui-input-block">
            <input autocomplete="off" class="layui-input" lay-verify="required" name="jump" type="text" value="{$data['jump']}"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            跳转项ID
        </label>
        <div class="layui-input-block">
            <input autocomplete="off" class="layui-input" lay-verify="required|number" name="foreign_key" type="text" value="{$data['foreign_key']}"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            要求-最小年龄
        </label>
        <div class="layui-input-block">
            <input autocomplete="off" class="layui-input" lay-verify="required|number" name="min_age" type="text" value="{$data['min_age']}"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            要求-最大年龄
        </label>
        <div class="layui-input-block">
            <input autocomplete="off" class="layui-input" lay-verify="required|number" name="max_age" type="text" value="{$data['max_age']}"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            要求-性别 0：不要求  1：男  2：女
        </label>
        <div class="layui-input-block">
            <input autocomplete="off" class="layui-input" lay-verify="required" name="sex" type="text" value="{$data['sex']}"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            职业id
        </label>
        <div class="layui-input-block">
            <input autocomplete="off" class="layui-input" lay-verify="required|number" name="zhiye" type="text" value="{$data['zhiye']}"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            类型 1：优惠券  2：折扣券 3：代金券
        </label>
        <div class="layui-input-block">
            <input autocomplete="off" class="layui-input" lay-verify="required" name="type" type="text" value="{$data['type']}"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            添加时间
        </label>
        <div class="layui-input-block">
            <input autocomplete="off" class="layui-input" lay-verify="required|number" name="add_time" type="text" value="{$data['add_time']}"/>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-input-block">
            <button class="layui-btn" lay-filter="editform" lay-submit="">
                保存
            </button>
            <button class="layui-btn layui-btn-primary layui-btn-cancel" type="button">
                取消
            </button>
        </div>
    </div>
</form>
